using Microsoft.Xna.Framework;
using Ninject;

namespace GorillaEngine.Dependency
{
    public class InjectedGame : Game
    {
        private StandardKernel _kernel;
        public StandardKernel Kernel
        {
            get
            {
                if (_kernel == null)
                    _kernel = new StandardKernel(new EngineModule());
                return _kernel;
            }
            set { _kernel = value; }
        }
    }
}